/*
 * ServCuentaCorrienteInterface.java
 *
 * Created on 21 de junio de 2007, 10:38
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package Interfaces;
import java.util.ArrayList;
/**
 *
 * @author EPSGRAU
 */
public interface ServCuentaCorrienteInterface extends java.rmi.Remote {
    
    
    public String anularCuentaCorriente( String dni, String idCta, String idAg, String idFec, String id ) throws java.rmi.RemoteException;                      
    public String crearCuentaCorriente( String dni, String idAgRet, float monto, int nlet, ArrayList letras, String idFec, String id ) throws java.rmi.RemoteException;       	        
    public String modificarCuentaCorrienteArchivo( String dni, String idAg, String idFec, float montoNvo, int nletNvo, ArrayList letrasNvas, String id ) throws java.rmi.RemoteException;
    public String anularCuentaCorrienteArchivo( String dni, String idAg, String idFec, String id ) throws java.rmi.RemoteException;
    
    public String modificaLetraCtaCorr( String dni, String idLetra, String idCtaCorr, String idAgRet, String idFec, float monto, String id  ) throws java.rmi.RemoteException, java.sql.SQLException;
    
    public String registraVale( String dni, String id_AgRet, String cont_vale, float monto, String dia, String mes, String ano, String id ) throws java.rmi.RemoteException, java.sql.SQLException;
    public String eliminaVale( String dni, String id_AgRet, String cont_vale, String ano, String mes, String id ) throws java.rmi.RemoteException;        
    public float consultaMontoAcumulado( String dni, String ano, String mes, String id ) throws java.rmi.RemoteException;     
    public int estaAptoParaDescuentos( String dni, String id ) throws java.rmi.RemoteException;
    public int verificaCtaCorrLetra( String dni, String idAgRet, String idFec, float montoLet, int numLet, String id ) throws java.rmi.RemoteException;
}
